Skip to content

Catch up with the other SDKs: e2e on the engine that runs them - #45

Merged
eunomie merged 4 commits into
identifier-casingfrom
java-sdk-catch-up
Nov 21, 2026
Merged

eunomie merged 4 commits into
identifier-casingfrom
java-sdk-catch-up

Conversation

@eunomie

@eunomie eunomie commented Nov 21, 2026 •

Copy link
Copy Markdown
Member
  • Ports the collection e2e checks and docs to the engine's filtered collection views (dagger/dagger 3440a16fd9, v1.0.0-beta.22); the Java SDK has no batch code, so the port is checks, fixtures and docs. Fixes the five collection checks that fail on every engine from beta.22 on.
  • Runs the e2e checks on the engine that runs them (as test(go): run the e2e checks on the engine that runs them go-sdk#111 and python-sdk: read a scope's targetVersion from the engine python-sdk#83): the root dagger.toml installs .dagger/modules/e2e, the engine-e2e module is deleted, floor-check and below-floor-check are removed (the floor, v1.0.0-beta.26, stays declared, not run on a floor engine). Four checks move into e2e (dev-sdk-check, cache-policy-sessions-check, pinned-git-client-check, standalone-client-check). Removing floor-check also removes the two Go checks that only failed on the beta.26 engine build, and below-floor-check, which fails on Name Java identifiers with engine naming #40 because the SDK module now uses beta.26 APIs.
  • A new module's class name comes from the engine (naming(version:).formatIdentifiers(PASCAL, CAPITALIZED)), the rule client codegen already uses, instead of strcase: modules whose names contain acronyms or digits get a different class (K8sTools instead of K8STools, E2eTest, Sha256sum).
  • Binds a client of the same repository by its path when the workspace is loaded from Git (as go-sdk and python-sdk do), so dagger generate on a Git workspace matches.
  • Not done: main object chosen by the engine (ModuleNaming.mainObject): the annotation processor runs without an engine session; no load failure exists today.
  • Checks run on a v1.0.0-beta.28 engine: packager:unit-tests, packager:generate:stale, templates:generate:stale, the five collection checks, collection-item-check, dev-sdk-check, and the moved e2e checks.

dagger/dagger#14802 replaced batch with filtered collection views;
the e2e collection checks and their fixtures follow.

Signed-off-by: Yves Brissaud <yves@dagger.io>
@eunomie
eunomie added this pull request to stack #46 November 21, 2026 13:40
A Git workspace resolves its own modules as Git sources at its commit,
so their clients were bound to that commit and regeneration never
matched; go-sdk#73 and python-sdk bind them by path.

Signed-off-by: Yves Brissaud <yves@dagger.io>
dagger check no longer builds dev engines; the floor stays declared,
as in go-sdk#111 and python-sdk#83. PinApp is never cached, so each
session loads its git client again, and the pushable git server is
its own: a push to the server git-check shares would move its tag.

Signed-off-by: Yves Brissaud <yves@dagger.io>
strcase wrote E2ETest and K8STools where the engine, and the module's
client, spell E2eTest and K8sTools.

Signed-off-by: Yves Brissaud <yves@dagger.io>
@eunomie
eunomie marked this pull request as ready for review November 21, 2026 16:58
@eunomie
eunomie merged commit 784d8e7 into main Nov 21, 2026
46 checks passed
@eunomie
eunomie deleted the java-sdk-catch-up branch November 21, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant